package org.action.order.sercive;

import org.action.order.domain.entity.ActionUserPay;
import com.baomidou.mybatisplus.extension.service.IService;
import org.action.order.domain.pojo.ActionOrderList;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zafkiel
 * @since 2025-07-03
 */
public interface IActionUserPayService extends IService<ActionUserPay> {

    List<ActionOrderList> getMyOrder(String userId);

    //根据订单id查询用户是否支付了订单
    boolean getUserOrderStatusById(Long orderId);

    boolean payOrder(Long orderId);
}
